// const oHtml = document.getElementsByTagName('html')[0]
// const width = oHtml.clientWidth
// // 320px的屏幕基准像素为12px
// oHtml.style.fontSipx'
function refreshRem() {
  var docEl = document.documentElement
  var width = docEl.clientWidth
  var base = 100
  var rem = (width * base) / 375
  docEl.style.fontSize = rem + 'px'
}
refreshRem()
